package com.lhz.project.system.mapper.base;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lhz.common.page.BaseQueryParam;
import com.lhz.project.system.model.entity.base.DictType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author LiHuaZhi
 * @since 2020-06-22 21:56:11
 */
@Mapper
public interface DictTypeMapper extends BaseMapper<DictType> {

    /**
     * 根据id查询
     *
     * @param id
     * @return
     */
    DictType selectByPrimaryKey(Integer id);

    /**
     * 查询类型列表
     *
     * @param param
     * @return
     */
    List<DictType> listDictType(BaseQueryParam param);
}